package z_ksiazki;

/**
 * Author: Daniel Michalski
 * Date: 14.03.13
 */

public class ObserverDemo {
    public static void main(String[] args) {
        BeingWatched observed = new BeingWatched();
        Watcher observing = new Watcher();

        observed.addObserver(observing);

        observed.counter(10);
    }
}
